/*
 * CMediaPlayer.h
 *
 *  Created on: 2018年8月2日
 *      Author: zhengboyuan
 */

#ifndef CMEDIAPLAYER_H_
#define CMEDIAPLAYER_H_

#include "MediaPlayer.h"
#include <string>


class CMediaPlayer: public MediaPlayer
{
public:
    CMediaPlayer();
    virtual ~CMediaPlayer();

    virtual void Close();

    virtual bool IsOpen();

    virtual void Stop();

    virtual std::string GetUrl();

    bool Open(const char* url, const char* params);

protected:
    std::string m_url;

};

#endif /* CMEDIAPLAYER_H_ */
